package com.morder.util;

import android.os.Environment;

public class Constant {
  public static final String API = "api";
  public static final String SERIAL = "serial";
  public static final String METHOD = "method";
  public static final String CONTEXT = "context";
  public static final String PARAMS = "params";
  public static final String DATA = "data";
  public static final String ERROR = "error";
  public static final String TOKEN = "token";

  public static final String APP_FILE_DIR_PATH = "t2f";
  public static final String APP_FILE_PATH = Environment.getExternalStorageDirectory() + "/" + "t2f" + "/" + "t2f_key.dll";

  public static class Data {
    public static final String API = "api";
    public static final String CODE = "code";
    public static final String MSG = "msg";
    public static final String UID = "uid";
    public static final String PWD = "pwd";
    public static final String KEY = "key";
    public static final String TYPE = "type";
    public static final String CALLED = "called";
    public static final String SIPIP = "sipip";
    public static final String SIPID = "sipid";
    public static final String SIPPWD = "sippwd";
    public static final String BALANCE = "balance";
    public static final String REAL = "real";
    public static final String IMAGE = "image";
    public static final String FRIENDS = "friends";
  }

  public static class Contexts {
	public static final String PLATFORM = "platform";
    public static final String LANG = "lang";
    public static final String PREFVER = "prefver";
    public static final String APPLATESTVER = "appLatestVer";
    public static final String APPVER = "appver";
    public static final String VER = "ver";
    public static final String MSG = "msg";
    public static final String URL = "url";
  }

  public static class Params {
    public static final String DEVICE = "device";
    public static final String OS = "os";
    public static final String MAC = "mac";
    public static final String ANDROID = "androidId";
    public static final String IMSI = "imsi";
    public static final String IMEI = "imei";
    public static final String CHANNEL = "channel";
    public static final String COUNTRY = "country";
    public static final String MOBILENUM = "mobileNum";
    public static final String UID = "uid";
    public static final String PWD = "pwd";
    public static final String KEY = "key";
    public static final String OLD = "old";
    public static final String NEW = "new";
    public static final String CALLER = "caller";
    public static final String CALLED = "called";
    public static final String APPVER = "appver";
    public static final String CARDSN = "cardSn";
    public static final String CARDPWD = "cardPwd";
    public static final String SMS = "sms";
    public static final String FRIENDS = "friends";
    public static final String CONTACTS = "contacts";
  }

  public static class Call {
    public static final String CALLED_NAME = "called_name";
    public static final String CALLED_NUM = "called_num";
  }

  public static class Other {
    public static final String HTTP_HEAD = "http://";
    public static final String HTC200_IMSI = "460030911111111";
  }
}